package com.weiyuwqj.server.service.account.module.action.user.invest;

import com.weiyuwqj.server.service.account.module.action.AbstractDealAction;
import com.weiyuwqj.api.constant.DealType;

/**
 * Copyright 2015-2019 Yunfucloud technology co., Ltd.
 * Created by fuxx on 15/11/27.
 */


public class InvestAwardDeductDealAction extends AbstractDealAction {

    public InvestAwardDeductDealAction() {
        log.setOperType(DealType.INVEST_AWARD_DEDUCT);
    }

    @Override
    public void dealAccount() {
        log.setUsable(log.getOperMoney().negate());
    }

}